package com.xd.core.business.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 客户工单关联表
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ExcelIgnoreUnannotated
public class OutInfoPageVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "进件单号")
    private Integer incomingId;

    @ExcelProperty(value = "合同编号")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "放款单号")
    private Integer outId;

    @ApiModelProperty(value = "授信id")
    private Integer creditId;

    @ApiModelProperty(value = "放款状态")
    private String status;

    @ApiModelProperty(value = "订单状态")
    private String businessStatus;

    @ExcelProperty(value = "业务名称")
    @ApiModelProperty(value = "业务名称")
    private String remark;

    @ExcelProperty(value = "放款方")
    @ApiModelProperty(value = "放款方")
    private String lender;

    @ExcelProperty(value = "订单状态详情")
    @ApiModelProperty(value = "订单状态详情")
    private String businessStatusRemark;

    @ExcelProperty(value = "贷款利率")
    @ApiModelProperty(value = "贷款利率")
    private String rate;

    @ExcelProperty(value = "借款用途")
    @ApiModelProperty(value = "借款用途")
    private String used;

    @ExcelProperty(value = "状态详情")
    @ApiModelProperty(value = "状态详情")
    private String statusRemark;

    @ExcelProperty(value = "进件产品")
    @ApiModelProperty(value = "进件产品")
    private String productName;

    @ExcelProperty(value = "客户姓名")
    @ApiModelProperty(value = "客户姓名")
    private String name;

    @ExcelProperty(value = "身份证")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ExcelProperty(value = "客户手机号")
    @ApiModelProperty(value = "客户手机号")
    private String phone;

//    @ExcelProperty(value = "进件人")
//    @ApiModelProperty(value = "进件人")
//    private String incomingName;
//
//    @ExcelProperty(value = "进件机构")
//    @ApiModelProperty(value = "进件机构")
//    private String incomingInstitution;

    @ExcelProperty(value = "贷款期限")
    @ApiModelProperty(value = "贷款期限")
    private String term;

    @ExcelProperty(value = "授信金额")
    @ApiModelProperty(value = "授信金额")
    private BigDecimal creditAmount;

    @ApiModelProperty(value = "是否抵押(0--是,1--否)")
    private String isMortgage;

    @ApiModelProperty(value = "争议方式(1--公证,2--仲裁,3--诉讼)")
    private String controversy;

    @ApiModelProperty(value = "公证状态(0-公证中,1-公证失败,2-公证完成)")
    private String certificationStatus;

    @ExcelProperty(value = "申请提现金额")
    @ApiModelProperty(value = "申请提现金额")
    private BigDecimal outLoan;

    @ExcelProperty(value = "更新时间")
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date updateTime;

    @ExcelProperty(value = "申请提现时间")
    @ApiModelProperty(value = "申请提现时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "订单状态(0--启用,1--停用)")
    private String isEnable;

    @ApiModelProperty(value = "订单状态(0--启用,1--停用)")
    private String isEnableRemark;

    @ApiModelProperty("资方id")
    private Integer companyId;

    @ApiModelProperty(value = "	债权id")
    private Integer debtId;

    @ApiModelProperty(value = "订单状态 1:还款中 2:已结清 3:已逾期")
    private String debtStatus;

    @ApiModelProperty(value = "还款方式")
    private String loanMethod;

    @ApiModelProperty(value = "绑卡状态(0--未绑定,1--已绑定)")
    private String cardStatus;

    @ApiModelProperty(value = "还款人账户")
    private String repayAccount;

    @ApiModelProperty(value = "还款人身份证")
    private String repayldCard;

    @ApiModelProperty(value = "还款人姓名")
    private String repayName;

    @ApiModelProperty(value = "还款人手机号")
    private String repayPhone;

    @ApiModelProperty(value = "还款人开户行")
    private String repayBank;

    @ApiModelProperty(value = "银行预留手机号")
    private String bankPhone;

    @ApiModelProperty(value = "支付通道")
    private String payPass;

    @ApiModelProperty(value = "公证订单号")
    private String orderNo;

}
